positive:
  configValues:
  - logLevel: Info
    bundle: Default
  - logLevel: Error
    bundle: Minimal
  - update:
      mode: Manual
  - update:
      mode: Auto
      windows:
        - from: '8:00'
          to: '13:00'
  - update:
      mode: Auto
  - update:
      notification:
        webhook: https://example.com/webhook
        auth:
          basic:
            username: user
            password: pass
  - update:
      notification:
        webhook: https://example.com/webhook
        auth:
          bearerToken: token
  values:
  - internal:
      currentReleaseImageName: registry.deckhouse.io/deckhouse/ce/dev@sha256:e9e41b1abc067bd59f1cdf2d7c44cb80911b733d3d711209abd291c9458e51c4
negative:
  configValues:
  - logLevel: FooBar
    bundle: Default
# TODO oneOf is deleted in values.yaml, this case is positive now.
#  - update:
#      mode: Manual
#      windows:
#        - from: '8:00'
#          to: '13:00'
  values:
  - internal:
      currentReleaseImageName: registry.deckhouse.io/deckhouse/ce/dev??sha256:e9e41b1abc067bd59f1cdf2d7c44cb80911b733d3d711209abd291c9458e51c4
